package com.yang.dao.impl;

import java.sql.SQLException;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.yang.common.CommonDAO;
import com.yang.dao.LocationDAO;
import com.yang.vo.LocationInfoVO;

@Repository("LocationDAOImpl")
public class LocationDAOImpl extends CommonDAO implements LocationDAO{

	public void insertLocation(LocationInfoVO vo) throws SQLException {
		
		sqlMapClient.queryForObject("location.insertLocation", vo);
	}

	public Map<String, String> selectMemberLocation(String memberId)
			throws SQLException {
		
		return (Map<String, String>) sqlMapClient.queryForObject("locationselectMemberLocation", memberId);
	}

}
